package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/27
 */
@Data
@Entity
@Table(name = "devicefault")
public class DevicefaultEntity {

    @ApiModelProperty(value = "异常情况id")
    @TableId(value = "id")
    @Id
    private Long id;

    @Column(name = "source_name")
    @ApiModelProperty(value = "设备名称")
    private String sourceName;

    @Column(name = "start_time")
    @ApiModelProperty(value = "故障开始时间")
    private String startTime;

    @Column(name = "reason")
    @ApiModelProperty(value = "故障情况")
    private String reason;

    @Column(name = "current_state")
    @ApiModelProperty(value = "故障状态")
    private String currentState;

    @Column(name = "step")
    @ApiModelProperty(value = "处理意见")
    private String step;
}
